package pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * Workunit entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Workunit implements java.io.Serializable {

	// Fields

	private Integer wuid;
	private Department department;
	private String wuname;
	private String wudes;
	private String wuzz;
	private String wunumber;
	private String wutype;
	private String createdTime;
	private String overedTime;
	private Set wuusers = new HashSet(0);

	// Constructors

	/** default constructor */
	public Workunit() {
	}

	/** minimal constructor */
	public Workunit(String wunumber) {
		this.wunumber = wunumber;
	}

	/** full constructor */
	public Workunit(Department department, String wuname, String wudes,
			String wuzz, String wunumber, String wutype, String createdTime,
			String overedTime, Set wuusers) {
		this.department = department;
		this.wuname = wuname;
		this.wudes = wudes;
		this.wuzz = wuzz;
		this.wunumber = wunumber;
		this.wutype = wutype;
		this.createdTime = createdTime;
		this.overedTime = overedTime;
		this.wuusers = wuusers;
	}

	// Property accessors

	public Integer getWuid() {
		return this.wuid;
	}

	public void setWuid(Integer wuid) {
		this.wuid = wuid;
	}

	public Department getDepartment() {
		return this.department;
	}

	public void setDepartment(Department department) {
		this.department = department;
	}

	public String getWuname() {
		return this.wuname;
	}

	public void setWuname(String wuname) {
		this.wuname = wuname;
	}

	public String getWudes() {
		return this.wudes;
	}

	public void setWudes(String wudes) {
		this.wudes = wudes;
	}

	public String getWuzz() {
		return this.wuzz;
	}

	public void setWuzz(String wuzz) {
		this.wuzz = wuzz;
	}

	public String getWunumber() {
		return this.wunumber;
	}

	public void setWunumber(String wunumber) {
		this.wunumber = wunumber;
	}

	public String getWutype() {
		return this.wutype;
	}

	public void setWutype(String wutype) {
		this.wutype = wutype;
	}

	public String getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(String createdTime) {
		this.createdTime = createdTime;
	}

	public String getOveredTime() {
		return this.overedTime;
	}

	public void setOveredTime(String overedTime) {
		this.overedTime = overedTime;
	}

	public Set getWuusers() {
		return this.wuusers;
	}

	public void setWuusers(Set wuusers) {
		this.wuusers = wuusers;
	}

}